package com.uzai.common.enums;

/**
 * @Auther: xiaoyuexl
 * @Date: 2021/8/17 19:47
 * @Description: 设备缓存操作类型
 */
public enum DeviceCacheOptTypeEnum {
    DEVICE_LOGIN(0,"设备登录"),
    DEVICE_AUTH(1,"设备授权"),
    UPDATE_HEARTBEAT(2,"更新心跳"),
    UPDATE_CONFIG(3,"更新设置"),
    DEVICE_LOGIN_OUT(4,"设备登出")
    ;
    private Integer id;
    private String desc;

    DeviceCacheOptTypeEnum(Integer id, String desc) {
        this.id = id;
        this.desc = desc;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
